package org.jeecg.modules.equipment.gasmeter.service.impl;

import org.jeecg.modules.equipment.gasmeter.entity.DmGasmeter;
import org.jeecg.modules.equipment.gasmeter.mapper.DmGasmeterMapper;
import org.jeecg.modules.equipment.gasmeter.service.IDmGasmeterService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 燃气表管理
 * @Author: jeecg-boot
 * @Date:   2021-11-24
 * @Version: V1.0
 */
@Service
public class DmGasmeterServiceImpl extends ServiceImpl<DmGasmeterMapper, DmGasmeter> implements IDmGasmeterService {
    @Resource
    private DmGasmeterMapper dmGasmeterMapper;


    @Override
    public String queryDMGasmeterMaxCode(String tenantId) {
        return  dmGasmeterMapper.queryMaxCode(tenantId);
    }
}
